Skip to content

Conversation

@zacksfF
Copy link
Owner

@zacksfF zacksfF commented Nov 3, 2025

Added unit tests in test/unit/PriceOracleTest.t.sol to verify core oracle functionality, including price retrieval and update logic.

TODO

--> testGetLatestPrice_returnsScaledPrice
--> testRevertsOnInvalidPriceZero
--> testRevertsOnStaleTime
--> testRevertsOnStaleBlocks

@zacksfF zacksfF changed the title test: add unit tests PriceOracleTest.t.sol test: add unit tests Nov 3, 2025
Copy link
Owner Author

@zacksfF zacksfF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 out of 4 failed

@zacksfF zacksfF merged commit cbcfb50 into main Nov 6, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants